
ac.skill('浊染箭雨'){
    temp = '攻击触发',
    model1 = [[131.mdl]],
    on_run = function(self,hero,target)
        local point = target:get_point()
        local damage = self:dmg_get()
        local lock = {}
        ac.timer(50,60,function()
            local last = point:random(300)
            last:add_effect(self.model1):remove()
            hero:aoe_damage(point,300,damage,self,function(unit)
                if lock[unit.handle] and (lock[unit.handle]-ac.clock()>0) then
                    return true
                end
                lock[unit.handle] = ac.clock() + 1000
            end)
        end)
    end,
}